package per.poker.gonghua;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum CardEnum {

    /**
     * 大王=小王＞主2＞其他2＞其他主牌＞其他花色牌
     */
    _3(3, "3"),
    _4(4, "4"),
    _5(5, "5"),
    _6(6, "6"),
    _7(7, "7"),
    _8(8, "8"),
    _9(9, "9"),
    _10(10, "10"),
    _J(11, "J"),
    _Q(12, "Q"),
    _K(13, "K"),
    _A(14, "A"),
    _2(15, "2"),
    _JOKER_R(16, "大王"),
    _JOKER_B(16, "小王"),
    ;
    private final Integer num;
    private final String code;
}
